var sys = require("sys");
var http = require("http");
var server = http.createServer(function(req, res) {
	setTimeout(function() {
		res.writeHeader(200, {
			"Content-Type": "text/plain"
		});
		res.write("Hello,World!");
		res.end();
	}, 2000);
});
server.listen(8000);
sys.puts("代理服务器已经在 http://localhost:8000/ 启动");